Espressif Systems /ESP32 /UART0 /CONF0

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CONF0

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (PARITY)PARITY 0 (PARITY_EN)PARITY_EN 0BIT_NUM 0STOP_BIT_NUM 0 (SW_RTS)SW_RTS 0 (SW_DTR)SW_DTR 0 (TXD_BRK)TXD_BRK 0 (IRDA_DPLX)IRDA_DPLX 0 (IRDA_TX_EN)IRDA_TX_EN 0 (IRDA_WCTL)IRDA_WCTL 0 (IRDA_TX_INV)IRDA_TX_INV 0 (IRDA_RX_INV)IRDA_RX_INV 0 (LOOPBACK)LOOPBACK 0 (TX_FLOW_EN)TX_FLOW_EN 0 (IRDA_EN)IRDA_EN 0 (RXFIFO_RST)RXFIFO_RST 0 (TXFIFO_RST)TXFIFO_RST 0 (RXD_INV)RXD_INV 0 (CTS_INV)CTS_INV 0 (DSR_INV)DSR_INV 0 (TXD_INV)TXD_INV 0 (RTS_INV)RTS_INV 0 (DTR_INV)DTR_INV 0 (CLK_EN)CLK_EN 0 (ERR_WR_MASK)ERR_WR_MASK 0 (TICK_REF_ALWAYS_ON)TICK_REF_ALWAYS_ON

Fields

PARITY

This register is used to configure the parity check mode. 0:even 1:odd

PARITY_EN

Set this bit to enable uart parity check.

BIT_NUM

This registe is used to set the length of data: 0:5bits 1:6bits 2:7bits 3:8bits

STOP_BIT_NUM

This register is used to set the length of stop bit. 1:1bit 2:1.5bits 3:2bits

SW_RTS

This register is used to configure the software rts signal which is used in software flow control.

SW_DTR

This register is used to configure the software dtr signal which is used in software flow control…

TXD_BRK

Set this bit to enbale transmitter to send 0 when the process of sending data is done.

IRDA_DPLX

Set this bit to enable irda loopback mode.

IRDA_TX_EN

This is the start enable bit for irda transmitter.

IRDA_WCTL

1.the irda transmitter’s 11th bit is the same to the 10th bit. 0.set irda transmitter’s 11th bit to 0.

IRDA_TX_INV

Set this bit to inverse the level value of irda transmitter’s level.

IRDA_RX_INV

Set this bit to inverse the level value of irda receiver’s level.

LOOPBACK

Set this bit to enable uart loopback test mode.

TX_FLOW_EN

Set this bit to enable transmitter’s flow control function.

IRDA_EN

Set this bit to enable irda protocol.

RXFIFO_RST

Set this bit to reset uart receiver’s fifo.

TXFIFO_RST

Set this bit to reset uart transmitter’s fifo.

RXD_INV

Set this bit to inverse the level value of uart rxd signal.

CTS_INV

Set this bit to inverse the level value of uart cts signal.

DSR_INV

Set this bit to inverse the level value of uart dsr signal.

TXD_INV

Set this bit to inverse the level value of uart txd signal.

RTS_INV

Set this bit to inverse the level value of uart rts signal.

DTR_INV

Set this bit to inverse the level value of uart dtr signal.

CLK_EN

1.force clock on for registers.support clock only when write registers

ERR_WR_MASK

1.receiver stops storing data int fifo when data is wrong. 0.receiver stores the data even if the received data is wrong.

TICK_REF_ALWAYS_ON

This register is used to select the clock.1.apb clock 0:ref_tick

Links

() ()